%module OgreString

%{
#include "OGRE/OgreString.h"
%}

%import "OgrePrerequisites.i"

namespace Ogre {

    class StringUtil
    {
	public:
//		typedef StringStream StrStreamType;
/*
        static void trim( String& str, bool left = true, bool right = true );

	static vector<String>::type split( const String& str, const String& delims = "\t\n ", unsigned int maxSplits = 0);

		static vector<String>::type tokenise( const String& str, const String& delims = "\t\n ", const String& doubleDelims = "\"", unsigned int maxSplits = 0);

        static void toLowerCase( String& str );

        static void toUpperCase( String& str );


        static bool startsWith(const String& str, const String& pattern, bool lowerCase = true);

        static bool endsWith(const String& str, const String& pattern, bool lowerCase = true);

        static String standardisePath( const String &init);

        static void splitFilename(const String& qualifiedName,
            String& outBasename, String& outPath);

	static void splitFullFilename(const Ogre::String& qualifiedName, 
			Ogre::String& outBasename, Ogre::String& outExtention, 
			Ogre::String& outPath);

	static void splitBaseFilename(const Ogre::String& fullName, 
			Ogre::String& outBasename, Ogre::String& outExtention);

        static bool match(const String& str, const String& pattern, bool caseSensitive = true);

	static const String replaceAll(const String& source, const String& replaceWhat, const String& replaceWithWhat);
*/
        static const String BLANK;
    };

} // namespace Ogre
